package icu.hsu.apisdk.model.enums;

/**
 * HTTP 请求方法枚举类
 * @ClassName: RequestMethodEnum
 * @author Hsu琛君珩
 * @date 2024-09-08
 * @apiNote
 * @Version: v1.0
 */
public enum RequestMethodEnum {

    /**
     * GET 请求
     */
    GET("GET", "GET"),

    /**
     * POST 请求
     */
    POST("POST", "POST");

    private final String text;
    private final String value;

    RequestMethodEnum(String text, String value) {
        this.text = text;
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public String getValue() {
        return value;
    }
}
